﻿package org.neelts.web.vkontakte {
	
	import flash.events.Event;
	
	/**
	* ...
	* @author Neelts © 2008
	*/
	public class APIEvent extends Event {
		
		public static const ERROR:String = "error";
		
		public static const TIME:String = "getServerTime";
		public static const MESSAGE:String = "getMessages";
		public static const VARIABLE:String = "getVariable";
		public static const VARIABLES:String = "getVariables";
		public static const USER_INFO:String = "getUserInfo";
		public static const USER_INFO_EX:String = "getUserInfoEx";
		public static const SCORES:String = "getHighScores";
		
		public var message:Object;
		
		public function APIEvent(type:String, message:Object) {
			super(type);
			this.message = message;
		}
		
	}
	
}